<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SuperOcean</title>
<link href="<?php echo base_url().'asset/'?>css/style.css" rel="stylesheet" type="text/css" />
</head>
        
        <div id="home_title"><img src="<?php echo base_url().'asset/'?>images/title_icon.png" /> <?php echo anchor('templateuser/sanpham', 'Sản phẩm')?></div> 
        
        
        
        <?php 
		
		foreach($dsdmsp as $dmsp)
			echo '<div id="home_each">
        	<div id="home_cate">'.anchor('sanpham/danhsachsp/'.$dmsp->madm, $dmsp->tendm).'</div>
        	<div class="clean0"></div>
        
       		<div id="home_content">        
        		<div id="home_images">'.anchor('sanpham/danhsachsp/'.$dmsp->madm, '<img src="'.base_url().'asset/images/'.$dmsp->hinh.'" />').'</div>
        		<div id="home_text">
				'.$dmsp->mota.'
            	</div>         
        	</div>
        </div>';
		
		?>
        
        <div id="home_title"><img src="<?php echo base_url().'asset/'?>images/title_icon.png" /> <?php echo anchor('templateuser/khoalan', 'Dịch vụ')?></div> 
        
        <?php 
		
		foreach($dsdmdv as $dmdv)
			echo '<div id="home_each">
        	<div id="home_cate">'.anchor('templateuser/khoalantheodanhmuc/'.$dmdv->madm, $dmdv->tendm).'</div>
        	<div class="clean0"></div>
        
       		<div id="home_content">        
        		<div id="home_images">'.anchor('templateuser/khoalantheodanhmuc/'.$dmdv->madm, '<img src="'.base_url().'asset/images/'.$dmdv->hinh.'" />').'</div>
        		<div id="home_text">
				'.$dmdv->mota.'
            	</div>         
        	</div>
        </div>';
		
		?>
        